<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
  <LINK REL="StyleSheet" HREF="menu.css">
  <script language="javascript" src="menu.js"></script>
</head>

<body style="background-color: grey">

<div class="header">
			<center>
				<h2>Dynamic Library Management System</h2>
			</center>
		</div>
  

  <table  class="navbar" width="1000">
    <tr>
      <td class="menuNormal" width="160" onmouseover="expand(this);" 
      onmouseout="collapse(this);">
        <p>Home</p>
        <div class="menuNormal" width="155">
          <table class="menu" width="155">
            <tr><td class="menuNormal">
              <a href="page.htm" class="menuitem">System</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="page.htm" class="menuitem">In Detail</a>
            </td></tr>
           </table>
        </div>
      </td>

      <td class="menuNormal" width="160" onmouseover="expand(this);" 
      onmouseout="collapse(this);">
        <p>New Book</p>
        <div class="menuNormal" width="155">
          <table class="menu" width="155">
            <tr><td class="menuNormal">
              <a href="newbookregistration.jsp" target="showframe" class="menuitem">Book Registration</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="deletebook.jsp" target="showframe" class="menuitem">Delete Book</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="updatebook.jsp" target="showframe" class="menuitem">Update Book</a>
            </td></tr>
            </table>
        </div>
      </td>
      <td class="menuNormal" width="165" onmouseover="expand(this);" 
      onmouseout="collapse(this);">
        <p> Book Search</p>
        <div class="menuNormal" width="155">
          <table class="menu" width="155">
            <tr><td class="menuNormal">
              <a href="bookid.jsp" target="showframe" class="menuitem">Search by ID</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="bookname.jsp" target="showframe" class="menuitem">Search by Name</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="bookauthor.jsp" target="showframe" class="menuitem">Search by Author</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="studentsearch.jsp" target="showframe" class="menuitem">Search Card</a>
            </td></tr>
            
          </table>
        </div>
      </td>
      <td class="menuNormal" width="165" onmouseover="expand(this);" 
      onmouseout="collapse(this);">
        <p>Book Issue</p>
        <div class="menuNormal" width="155">
          <table class="menu" width="155">
            <tr><td class="menuNormal">
              <a href="issue.jsp" target="showframe" class="menuitem">Issue Book</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="renewal.jsp" target="showframe" class="menuitem">Renewal Book</a>
            </td></tr>
            </table>
        </div>
      </td>

      <td class="menuNormal" width="165" onmouseover="expand(this);" 
      onmouseout="collapse(this);">
        <p>Book Return</p>
        <div class="menuNormal" width="155">
          <table class="menu" width="155">
            <tr><td class="menuNormal">
              <a href="return.jsp" target="showframe" class="menuitem">Return Book</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="finecalculator.jsp" target="showframe" class="menuitem">Fine Calculator</a>
            </td></tr>
            
          </table>
        </div>
      </td>

      <td class="menuNormal" width="320" onmouseover="expand(this);" 
      onmouseout="collapse(this);">
        <p>Library CardRegistration</p>
        <div class="menuNormal" width="155">
          <table class="menu" width="155">
            <tr><td class="menuNormal">
              <a href="studentdetails.jsp" target="showframe" class="menuitem">Card Registration</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="deletestudent.jsp" target="showframe" class="menuitem">Delete card</a>
            </td></tr>
            <tr><td class="menuNormal">
              <a href="updatestudent.jsp" target="showframe" class="menuitem">Update Card</a>
            </td></tr>
            
          </table>
        </div>
      </td>
      <td class="menuNormal" width="160" onmouseover="expand(this);" 
      onmouseout="collapse(this);">
        <p>Logout</p>
        <div class="menuNormal" width="155">
          <table class="menu" width="155">
            <tr><td class="menuNormal">
              <a href="login.jsp" target="_top" class="menuitem">logout</a>
            </td>
            </tr>
            </table>
            </div>
            </td>
            
      <td class="menuNormal" width="300">
        <p>welcome::&nbsp<font size="3" color="red"><%=(String)session.getAttribute("username") %></font></p>
        
      </td>
            
    </tr>
  </table>

</body>
</html>